import defaultSettings from '../settings'

const title: string = defaultSettings.title || 'Vue3 ElementPlus Template'

export default function getPageTitle(pageTitle: string): string {
    if (pageTitle) {
        return `${title}-${pageTitle}`
    }
    return `${title}`
}
